import { createStore } from "vuex";

export default createStore({
  state() {
    return {
      configInfo: null, //配置信息
      specification: null,
    };
  },
  mutations: {
    SETCONFIGINFO(state, val) {
      state.configInfo = val;
    },
    SETSPECIFICATION(state, val) {
      state.specification = val;
    },
  },
});
